Html Settings
public interface HtmlSettings implements PdfPrinter.Settings<T>, PageMargins<T>, PrintHeaderFooter<T>, Orientation<T>, PrintBackgrounds<T>, PrintSelectionOnly<T>, PaperSize<T>, HeaderTemplate<T>, FooterTemplate<T>
Print settings available when printing HTML content on the PDF printer.
Since
7.13
Functions
Link copied to clipboard
Disables printing background graphics.
Link copied to clipboard
Disables printing headers and footers.
Link copied to clipboard
Disables printing only the selected content.
Link copied to clipboard
Enables printing background graphics.
Link copied to clipboard
Enables printing headers and footers.
Link copied to clipboard
Enables printing only the selected content.
Link copied to clipboard
Returns
true
if printing background graphics is enabled.Link copied to clipboard
Returns
true
if printing headers and footer is enabled.Link copied to clipboard
Returns
true
if printing only the selected content is enabled.Link copied to clipboard
Returns the page orientation.
Configures the page orientation.
Link copied to clipboard
Returns the page margins.
Configures the page margins for printing.
Link copied to clipboard
Returns an immutable set containing the page ranges to print.
Configures the page ranges to print.
Link copied to clipboard
Returns the number of pages per sheet.
Configures the number of pages per sheet.
Link copied to clipboard
Returns an
Optional
that contains the absolute destination PDF file path, or an empty Optional
if there is not path configured.Configures the path to the destination PDF file to print to.